package com.ljx.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.Domain.Setmeal;
import com.ljx.Dto.SetmealDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    /**
     * 添加套餐
     * @param setmealDto
     */
    @Transactional
    void saveSetmeal(SetmealDto setmealDto);

    /**
     * 删除套餐
     * @param ids
     */
    void removeWithDish(List<Long> ids);

}
